tooltips: Fix a line wrap mishap
authorMatthias Clasen <mclasen@redhat.com>
Wed, 27 May 2020 23:00:18 +0000 (19:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 27 May 2020 23:01:46 +0000 (19:01 -0400)
commit1927a8af71b236aafba125eb9ce732b5d7b9d1fd
tree25e03ceb541719fdc8c7988349bbb30b69a40de3
parentfe40e674c57dcc54c02db935b61f78e471ab1274
tooltips: Fix a line wrap mishap

We don't want wrapping labels to cause tooltips to
have excessive height, so we need to set a reasonable
value for width-chars, without forcing short tooltips
into a full line length. Also be careful to respect
preexisting line breaks (we have such examples in
widget factory).
gtk/gtktooltipwindow.c
gtk/ui/gtktooltipwindow.ui